package com.example.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.domain.po.Account;
import com.example.springboot.domain.po.Grade;
import com.example.springboot.domain.po.User;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：伐柯梦姝
 * @Package：com.example.springboot.service
 * @Project：springboot
 * @name：GradeService
 * @Date：2025/2/3 22:30
 * @Filename：GradeService
 * @for:
 */
public interface GradeService extends IService<Grade> {
       List<Grade> getAll();

       Grade findById(Integer id);

       Grade gradeRegister(Grade grade);

       void deleteById(Integer id);

       void update(Grade grade);

       PageInfo<Grade> findPage(Grade grade, Integer pageNum, Integer pageSize);
}
